package com.mxsat.system.service;

import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.mxsat.common.service.Service;
import com.mxsat.system.entity.SysRole;

public interface SysRoleService extends Service{
	
	IPage<SysRole> findSysRolesByPage(IPage<SysRole> page,Map<String, Object> condition)throws Exception;

	SysRole findSysRoleById(Long id)throws Exception;
	
	boolean addSysRole(SysRole role)throws Exception;
	
	boolean modifySysRoleById(SysRole role)throws Exception;
	
	boolean removeSysRoleById(Long id)throws Exception;
}
